Add test case for no-ancestor class.