add featuretype name to exception message

also adds from last commit a Unittest for binary attributes