Lose head in tests.
Read prime list size after calling addPrimes().
Put size in own int.
Don't add prime if waiting for lock. Fixes #5.