unit tests fail due to db retrieval error

Signed-off-by: nigel <nigel.cook@hp.com>