Make tempo tests use the api more correctly.