updated specs with additional tests