Some progress on debugging read_test, still doesn't work though