moved in tests from tethne repo