Add test for microposts and re-factor layouts using partials