Added elevator switching direction test.