Fix tests for Quality command.