more tests written/fixed. basic construction works.