Added threaded_counter test