test case added for setAppearance on Modal