Added tearDown proccess to the test to clean doctrine connections.