added test cases for getType, getFloor