Fix database parser test to be more exhaustive.