OneAttributeTest rewritten to support all value types

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>