tests + cleanup