Fix NPE on testing.