https://github.com/subshare/subshare/issues/74Extended junit-tests for more thorough testing. (commit: 2ca35d8f3b46c26616ee7e3e5c14cc45b3a01563)