test that getting data works