fixed tests for create and update product