Add assertion for arraysearch method in UT.
Merge pull request #1 from Achal-Aggarwal/ut-arraysearch

Add assertion for arraysearch method and test case for invert method in UT.