updated tests to reflect this
density cannot be -ve