wrote test for waitForPlayerController and reformatted the whole code | chethan - raghavendra | story - 1