tests for the cmd line