fixed some typos and added an initial version of the testing part