Test cases based on TA thread on Coursera