Junit tests added. Only problem is reading an array in as an argument to pass to the test