add tests for billing controller

and make weekdays generic