Testing methodvalidation.py