added cmd line options for test