Fix post iframe src url

Add test for posts helper