chgd test datalayer writes to db