Finally added tests to registrations_controller and improved date helper for transactions.