Extract mock autoloader (Closes #403)
Merge pull request #408 from jubianchi/extract-mock-autoloader

Extract mock autoloader