Corrected tests and range exclusive constraint