adding test for when no parameters are passed