Adds tests to include/lru.h + fixes small issues