Added tests, find correct amount of valid actions.