tests
pseudo test script
improved tests by using assert()
improved