Strengthening testfile to include known edge cases and added comments for detail