testing solution for memory free