Mock slumber functions to detach tests from GitLab demo environment.

Pull request for discussion.

Relates to #15