Reduce code duplication in test_radon_transform

Although the line count is increased by these changes, future tests can
be written in fewer lines.
PEP8 fixes for test_radon_transform
Merge pull request #578 from josteinbf/radon-test-refactor

Reduce code duplication in tests for transform.radon_transform