maint: fix failing tests on OS X