Add tests for tail command argument parsing