Added tests for the supervisor class.