setup and teardown hooks fully working