Fixed scaffold generator so that it will pass on unchanged scaffolding.

added tests to prove that it wasn't calling none existent instance variables
Merge pull request #157 from isaacsloan/master

Use accessor method instead of instance variable.