* next part of test refactoring * more refactoring * more refactoring * fixes and clean-up * fixes * build fixes * more fixes