updated tests for the spec