handle null parameter(s) to target methods; updated tests to cover this case