added tests and fixture