adapted functional tests for shown command