checking if result is used DefaultLogicResult
adding a debug log
simple test case
Merge pull request #804 from caelum/checkingResultUsed

checking if result is used on DefaultLogicResult