patched a test case change.
trim some commented codes. depart from simple (without param) evaluateAlignment. revert to this commit, if you want to