TODO: Fix tests.
Fixed a single test.
Fixed the remaining unit tests.
Unit tests passing again. Removed something which isn't actually an error - valid behaviour shouldn't log as an error message.