updating lib and test

I updated the test file to change the typos.  Added arrays.  If you have any questions please let me know.  Thanks.