Port warehouse.accounts unit tests to use pretend instead of mock
Port the utils unit test to pretend instead of mock