Added mem test