Added tests for read as classmethod