beginning of testing of the main function pikaia