Parameterize the null pointer test for various branch names

Branch name variations may show why the test is unreliable