Namespacedjs testing of commonjs code