Converted the interface and tests over to the NodeJS spec.