added test configuration test.py
requirements file for test
fixed an issue with spoofing