Fix: stderr and a minor bug in handling parsing error for class methods;
Fix: stream redirection and DaoTest.