add contribute guidelines
fix test cases to run on local machine