refactored tests, ready to set them up to re-use tests in other classes. all tests currently passed. fixed changing reward.