Spec writing

Methods and tests for spec writing exercise.