Fix test failure by removing spec arg to Mock object