QueryString and MethodMetadata tests added, fixed a logic bug in async handler