Use different constructor for test unit to prevent NPE.