first attempt at tests for #3