Implemented new Value type with some tests