Cleaned up the tests

Removed copy paste methods
Fixed some typo's
Replaced system.out by logger calls
Improved exception handling
More test cleanup
Merge pull request #250 from hazelcast/cleanup/tests

Cleanup/tests