using test:prepare and spec