Added tests for method 'divide'.
Added method 'divide'.