goals update
added doctest
faster unittest for backtesting, smaller dataframe