eliminate lambdas
set up tests dir, populate with a simple unit test