fix tests related with null parameters