move the history API tests to the right place