Added test of method declaration without parameter names.