Testing routine

Added a testing routine for forward modelling.