Test and fix for missing ContractHour url

Closes #736
Merge pull request #737 from caktus/fix/736-contracthour-admin

Test and fix for missing ContractHour url