refactored test
added tournament edit to admincp, tests pass
refactored all tests