added test cases and fixtures