LIB-26: test error_msg, features and feature_list

Error message should be available when something failed and otherwise
empty.
Features are tested for consistency with the feature list and the actual
output on read.