Split tests for unit and integration