Use the correct location of view_counter in test