add test for post/index
do not use `*-as-promised`
refactor Makefile