added initial tests
completed the tests for the basic functions
added tests for arrayFields