adding test to make sure props are good after state change