Compact database test