removed scalamock-based test