Fix requirements files and structures
Configure py.test testing environment.