add tests for lru cache
fix a memory leak related to request listeners
bump target to 19
disable memory leak check by default