avoid NPE in test