added helper for rspec tests to DRY them up, added micropost specs