first pass at tests, uncertain about this as well