add core_weight test