why don't you just remove elem?
seems strange to add an element in setup and remove everything in teardown