finished writing tests