added robolectric as dependency in pom.xml refs #2578
added comments, added robolectric for log messages refs #2578
added junit tests for way objects refs #2578