Renamed tests to integration tests. Improved saving (to cascade saving). Added some tests.