Update functional test to use Test::TestCase (instead of ActiveSupport::TestCase)