Add log
Move pytest to test/