Added unit tests for command line (multi mode) #50