Issue 228 implement hash code method tests config

Caution: Please merge #226 first as this PR depends on it!
Closes #228.