more unit tests

Added tests for store_changes (hardcoded) and perturb_params
(hardcoded).