Fix unittests for BundleSet if sqlite supported is not included in the build

These patches fixes #47.