Add spec tests.