move signal connects for payment status changes to the model file and fix tests