Added a spec test.