Update standalone test apps and test case to work on v2
Merge pull request #31 from ramnivas/fix-standalone-apps

Update standalone test apps and test case to work on v2