added wrap tests and value rejection test