example app updated
bug fixes, test cases fixed