added tests for successfully setting state values