add functions/counter test