add ability unit tests
Merge pull request #4 from thomashopkins/ability_tests

add ability unit tests