unit testing for creator and updater