added basic unit test for singular malloc hooks