Added check for online mode in test form
Merge branch 'master' of https://github.com/hanlonal/CSE4982013