prevent tests from failing between 11pm and 11:59pm
Merge pull request #4941 from dimagi/sofabed-test-fix

prevent tests from failing between 11pm and 11:59pm