Fix _extends method, v1.1.1.
Use mocha tests.