memput test added. not yet bugfree