Adding unit tests for constrain wih negative values since the constrain