Fixed bug with vcpp
New LOG_AFTER_N and LOG_N_TIMES, Added tests for new features