Test assembling more math functions
Merge pull request #328 from firedrakeproject/test_moar_ffc

* test_moar_ffc:
  Test assembling more math functions
add reference measure handling
more adding reference measures