test resolve: trying to append ".js" to path