ENH: Added diffraction api test
MNT: Cleaned up tests and added api tests
Merge pull request #220 from ericdill/test_refactor

Test refactor