Fixes issue #75

Added id validate at the beginning of the item.save method.

Added rspec test to match.

Also refactored all tests.