added reward testing