Add a spec to prove the problem of #302 had gone.