Add secrets save test
Fix tests
restore controller methods and their associated views
Complete spec tree