added rest test
added example files