added tests for win method of master controller