Fix report tests to utilise postgresql 3.0.0 syntax

The syntax for creating a database was still using PostgreSQL 2.5.x syntax
and causing our tests to fail.

Signed-off-by: Ken Barber <ken@bob.sh>