Test using memory