retrieve interfaces when searching for class name, plus unit test check