add setZoom() method, add tests to example app