Add some test to under stand the code