Add tests

@Ian-Foote this is the test to assert the encrypted field length