refactoring offerController tests
added test for approve offer in offerController