tests for trends