start of second test case: optimisation example

the opttest notebook will be used to prepare the subroutines for the
optimisation test