Adding savedState tests to controllers test cases.