fixed #1942: LayerTest for TestLua is ok.