fixed tests with test fixture