getAvailableMoves method was introduced
tests added