Make accounting limits enforcement test more flexible