Attribute expressions

closes #659
This name could be improved.  Also, code this complex could use a comment or two.

In trying to fix this I found that it was replicated in a variety of other similar tests throughout `compute/tests`.  Avoiding this sort of copying is the sort of thing that `test_comprehensive` was designed for.  Although on trying it it appears that I exposed other issues in datetime conversions between various forms.