moved examples into test dir & made makefile to build them