add tests for fetching a constructor from _classMap