Add admin factory
Add post controler tests.