added before and after test case annotation and refactored code for better reuse
Merge branch 'master' of https://github.com/robalovell/test-automation