add support to write value class to form
put test value class in object