Fix the tests on my machine and update contributing doc