More tests for common, and a bug fix for negative values.