fit to unit tests