#1105 Added testcase
Minor compile fix