Fix unit tests

                   
|Q            |A  |
|---          |---|
|Bug Fix?     |y  |
|New Feature? |n  |
|BC Breaks?   |n  |
|Deprecations?|n  |
|Tests Pass?  |n  |
|Fixed Tickets|   |
|License      |MIT|
|Doc PR       |   |
                   

Fix failing unit tests introduced by #181
 Sent using [Gush](https://github.com/gushphp/gush)