added test for subtract method