Update and rename tests/mag-spec.js to specs/mag-spec.js