`session` is not an field widget attribute anymore. One should use `getSession` instead. This commit also introduces tests for the `binary` field.