Fixed bugs with PHPUnit setup
Added database config