unit tests for setting on value
unit tests for invalid value types
Merge pull request #32 from turnerba/bat-tests

Bat tests