Move hidden field tests into their own file

These tests are starting to grow quite large, so it seems like they
deserve their own file to make it clear that this is a discrete feature.