See all articles from Syntax/Syntax ZX80 v4 n11
MEMTST writes all zeroes into a byte, confirms that all bits equal zero by reading the byte, writes all ones in the byte, confirms that bits are all ones by re-reading the byte, then moves to the next byte.