Adding tests.

ephem/ephem_test.py
 - Added a setup method to the test_ephem class and moved redundant code into there.
 - Added a test_trim_data method to test the values of the trim_data function.