Added few tests for supervisor