example and test code of lots of framework