add some lua test

add some lua test
understand design pattern in lua mode

understand design pattern in lua mode