more filedb stuff, and some tests!