Issue#17703 Test case for tempfile attribute

+ To avoid regression I am adding this test case on action pack
Changed to assert from assert_equal

+ Added msg to assertion