fixed spec as well
updated specs and tests