Added gitignore and and added test on data read obj.