setting counter column default instantiation value to 0 (not None)
adding tests and checks to model definition constraints