Merge pull request #1 from konstantinkoval/master

Add tests and fix array remove method