test: use reflect.DeepEqual() instead of custom implementation