moving test to a function
storing number of subdomains and fields in time step
slightly modifying function handle interface
filling out the test function handles