Added more tests for DealController