added tests for equals() and split tests up
reduced NPath complexity of equals()
reenabled phpmd in scrutinizer