Move all test fixtures online.
#768 Fix document feature assignment.
#768 Fix tests to work with new features.  Add test case for document features.