Added tests for deliveries controller