WIP ENH: Reducing test memory consumption

This should reduce test memory consumption substantially. Still need to address individual tests (esp. in `test_raw`) as per @dengemann's suggestion.