Made more tests and fixed some persistence issues when saving a new sessionlog.