#2 Added basic test cases.