added testing suite, factories and first integration test