testing rails by creating simple blog