double linked list test implementation for file handle management

Signed-off-by: Janos Laube <janos.dev@gmail.com>