added heap test.
added issame library function - function compares if two values refer to
the same thing.