Added subtract test function