Testcases for edge cases and making sure they are passed