DBSS: Implement unittest test_get_all. Refactor LoadingObject a bit for code reuse with DBSS.