some work on tests