Written test for generating values

read backtesting data no longer works as values generated seems broken,
will fix