foxmetrics: port tests to new api, fix page(category)

/cc @ianstormtaylor had to change one of the tests b/c it wasn't testing correctly because of that testing abstraction