Fixed metadata unit tests, depends on lightblue-platform/lightblue-mongo#24