add fit test using weights (first without weights)

Authored by sgerlach on Apr 17 2018, 8:23 PM.