Trakt tests, cleanup
Log errors on write