move types.ip.spec.js to test folder