fixed up tests to use nodeunit and use tv4s which is a "frestApi"