Adding unit tests for public controllers, enabled errors, updated documentation.