added test checking that approval email was sent