add test code
author post method