Updated test cases in spec to reflect last change.
Fixed bug.