fixed typo in cli -n arg and backfilled missing test