added db hooks and selenium to functional tests