Fixed NPE in test