added test cases for binary fields.