make the tests work by implementing proper html parsing :/