Fixed issue #67.
Test methods now fail when the actual result returned by the test method does not
match the expected result.
The data is also written back to the test files.

Signed-off-by: Anuj kumar <anuj.gandharv@gmail.com>