How are you activating profiles.  We've been using "dev" or "test" for mock classes and "prod" for things that might or do have mocks.  And using @ActiveProfiles("dev") in the tests.