chore(database): Unit tests compatible with PHP 5.2