change routes of test app for rails 4, remove deprecated match with get
set config.secret_key_base in the test app