Added commandline option for running tests