working on tests of margsky