Fixed StaticObjectPool and extended test cases