Now classpath scanner works both in test and production environments