added test with pytest, run all tests through py.test

started changing of testing framework