Add spec test.