Fixed without method not in strict mode and updated test to detect regressions