fixed bug for >1 digit operands, added test