Refactor text method a little. Add skeleton structure for rspec.