tests for primelist added
primelist now uses first element of array