Removing GameTest dependency on Pacman.getNextDirection