Add test and DLOC counter