Fix read_only module, and add specs