Update heap_spec.rb

unnecessary variable x removed.
use no variable for expected value
Merge pull request #22 from ysksn/master

small re-factoring