Refactor logic of find method in LocalStorage adapter to throw error early if it gets an invalid id
Add tests for schema and extend. Fix bug where after finding an object and modifying it would affect the in memory one.