phpunit fixes - fix db reference