updated tests, added exec
added example