Moved over helpers_test from Grok trunk
Fixed header
Switch to unittest format
Fix formatting
Formatting and using assertRaises instead
Merge pull request #606 from chetan51/test_helpers

Add helpers_test