added comments to test to make it more understandable