added test to example project
reformatted files