adding test option to web cli