Fixed adapterCtor to be defined as a Function not an Object in registerAdapter. Update breeze tests according to the new registerAdapter parameter count.