Add test for hashcode and equals methods generated by Lombok