Add testcase for nullable locations