remove direct work with database in acceptance test