Revert "Revert "tests added""

This reverts commit 743bb43f46e1bf311a782cfaabd8d6d28af41349.
.gitignore added