some test for the api, but nosetests seems to mungle the path