Added tests on returning values