Tests

added some rspec tests, database_cleaner for rspec, minor bug removed
from creating default categories (before save -> before create)