fixed failed test and update gitignore file