all functional tests passing
moved functional tests into their own dir
allow to slap an HTTP response code when invalid