Fixed failing DatabaseAccessObject unit test cases

Signed-off-by: Daan Hoogland <daan@onecht.net>