add weight tests; remove mirroring code (unfinished and unuseful)