added (again) support for keyword arguments in wrapped functions
added test for wrapped functions with keyword arguments