Add field class type checks and tests for iput-boolean, iget-boolean
Add field class type checks and tests for iput-boolean, iget-boolean

Summary: Add type checks and tests for `iput-boolean` and `iget-boolean`. The major part of this diff is to address a comment in previous diff to add the test helper functions to reuse the repeated code.

Reviewed By: yuxuanchen1997

Differential Revision: D26960957

fbshipit-source-id: e5ecd058232b5c7c9d8efb7c726928a0d860565d

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex