added tests for the provided code into run-tests.sh
added link from part 1 to part 2