Log memory limit in case of exceed
cosmetics
Merge pull request #100 from reneme/fix_log_memory_limit

FIX: check_memory() in test_functions now logs details