Refactor Storage specs
Handle 422 error
Add test for 422 error