testing for DB writing issues