Add system tests for which command.