Added code for testcases
Merge branch 'master' of https://github.com/rafica/iWAL