tests for text package