tests for memorize