added test for None as return Value