Added tests for the supervisor class.

References: https://www.pivotaltracker.com/story/show/63985288