get classes from injector in tests