Better testing with django framework in tests.py

renamed setup to setUp and made corresponding changes to
test_get_last_synchronised_date_record() to make use of this django
testing functionality