added test for ReadableType