use testing/quick to test reader and writer