adding in binary test stuff.
Merge pull request #24 from gigonaut/master

adding in binary type test.