make 'alias' check for recursive calls and insert 'command'; update docs, fix #486
re-enable tests that were accidentally disabled in 0b1e3718