Added memory test