refactor tests to use foobar test repository

See  #20