Added RegElevator test and changed the way elevators are created