tests: Add regression test for get-attach-method == "appliance".

This updates commit ecd31806a491c735878e9e54540a5c11ca1adce9.