fixed bs with dividend, added test