fixed tests for setappvalue