Add 'State.equals' and 'Result.equals'
Add test for 'State'