add assert counter to tests