testcase for opening layer with animation