initial commit for setOwner and requireOwner support
restructured tests