Fix packages in test and add eclipse's files in ignore list