Test database.php