added test for function with no args