fixing setValue
fixing test