add negative value after-edge tests for weights