Adding State Example and test