Fixed type checking bug, renamed test method for correct order