Fixes to ball movement and tests edited