moved rewards tests to rewards app, fixing #438