Tests for create
Added tests for update