improve common/at, add more unit test