Add read_test_file for testing r_read function. Added new testing rules in pre-commit to test the r_read function.