Added a test for the method 'findType'