Fixed crash on empty input file.
Added test_heap.src