updating with tests for throwing savings alert