separated integration and unit tests