Added badval tests
Added read out on set