Added previous functions and added numbers to test case