setConfigAttributes should handle both rails-2 & rails-4 UI params

You should be reverting back to the old value after the test. ```SystemEnvironment#set``` calls ```System#setProperty``` which is system-wide.