unit test saveWithAttachment success
assert on record state and request body
Test for update
Merge pull request #3 from sol1dus/tests

Tests