finalisation of test code for session7