add tests for package examples