Removed HeapAlloc in test_basic. Renamed test_basic to test_query_basic.
Check needed length regardless of given length. Return STATUS_INVALID_INFO_CLASS for non-implemented classes. Return STATUS_ACCESS_VIOLATION if no buffer given.